﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Forms/FormAdmin.master" AutoEventWireup="true" CodeBehind="CBAmonitoring.aspx.cs" Inherits="HRdex_Final.Forms.WebForm8" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        &nbsp;&nbsp;&nbsp; <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    <div>
    <table>
        <tr>
            <td hidden="hidden" style="text-align: left">
                &nbsp;</td>
            <td hidden="hidden">
                <asp:TextBox ID="txtCBAmonID" runat="server" Width="288px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: left" colspan="2">
                &nbsp;</td>
            </tr>
        <tr>
            <td style="text-align: left">
                Student Number
            </td>
            <td>
                <asp:TextBox ID="txtStudentNumber" runat="server" Width="288px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: left">
                Student Last Name
            </td>
            <td>
                <asp:TextBox ID="txtStudentLname" runat="server" Width="288px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: left">
                Student First Name
            </td>
            <td>
                <asp:TextBox ID="txtStudentFname" runat="server" Width="288px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: left" hidden="hidden">
                Course
            </td>
            <td hidden="hidden">
                <asp:DropDownList ID="ddlCourse" runat="server" DataSourceID="Course" 
                    DataTextField="CourseName" DataValueField="CourseID" Height="32px" 
                    Width="296px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="Course" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catCourse]"></asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td style="text-align: left" hidden="hidden">
                Year
            </td>
            <td hidden="hidden">
                <asp:DropDownList ID="ddlYear" runat="server" DataSourceID="Year" 
                    DataTextField="Year" DataValueField="YearID" Height="32px" Width="296px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="Year" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
                    SelectCommand="SELECT * FROM [catYear]"></asp:SqlDataSource>
            </td>
            </tr>
            <tr>
            <td style="text-align: left">
                Birthday</td>
            <td>
                <asp:TextBox ID="txtBday" runat="server" Width="288px"></asp:TextBox>
                <asp:CalendarExtender ID="dp" runat="server" Enabled="True" 
                    TargetControlID="txtBday">
                </asp:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td style="text-align: left">
                Parents
            </td>
            <td>
                <asp:TextBox ID="txtEmpNo" runat="server" Width="71px" Height="22px"></asp:TextBox>
                <asp:TextBox ID="txtParent" runat="server" Height="22px" Width="207px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: left">
                Ordinal Position
            </td>
            <td>
                <asp:TextBox ID="txtOrdinalPos" runat="server" Width="288px"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td style="text-align: left" colspan="2">
                <asp:Label ID="lblConfirmationMsg" runat="server"></asp:Label>
            </td>
            </tr>

        <tr>
            <td colspan="2" style="text-align: center">
                <asp:Button ID="btnSave" runat="server" onclick="Button2_Click" Text="Save" 
                    Visible="False" Width="120px" />
                <asp:Button ID="btnAdd" runat="server" Text="Submit" onclick="btnAdd_Click" 
                    Width="120px" />
                <asp:Button ID="btnEdit" runat="server" Text="Edit" onclick="btnEdit_Click" 
                    Width="120px" />
                <asp:Button ID="btnClear" runat="server" Text="Clear" onclick="btnClear_Click" 
                    Width="120px" />
            </td>
        </tr>
    </table>    

</div>
    </asp:Content>

